bitmap sorter method cleanup. thanks @Gama11