sort widest images first to optimize texture atlas