Sorting the build products list fails if there are fewer than 3 build products. This is because of extreme Template Toolkit brain damage: it treats arrays of 0-2 elements differently in some magic way. See e.g.
http://mail.template-toolkit.org/pipermail/templates/2011-April/011510.html
RRCGVQLWXSQ6O7J63ALSRSESZL7SW7WYRO7VMYHIHG2Y53AVAF4QC
ELABMHJIZYVLS4JFM36XS4YS4UP32NPFCTUWX5XOKBL6S5FIB3UQC
42CJF4V523R5BRRL4VUBBYEZJCOVE4QAC6H7WLDJQH7EOIBYHXTAC
JFZNAYJXKCMXYHGCLTRH7Q6TOFGJ4BT6332GONCWVYRLNMDDG3KAC
MAOFG2TDQZUK62BT7W3JYAIOSEAKDZJOYAMLGXBJAUHABJHQQMHQC
SMM4HQTPAY45254O7GQOJVLHP5LZ6BXDKGNE7IKUJHB5XKH244ZAC
Y35C6GHH45ZUEZHHYZU4BQK3GOPJENOY2DZM3TMVUA6AMSPT2I7AC