players sorting added, templates updated