Implemented reverse bit sort