bitmap sorting