Added support for bi-directional sorting of company users