Added ATPASortByWeight & TPASortByWeight