added option to sort the icons