Added texture sorting (needs an icon, though)

If at least two textures are selected, the sort will be performed in the
selection; otherwise (only one or no texture selected), the sort is
performed on the entire texture list.