fixed more sorting bugs. improved admin UI.