* @param max maximum number of returned characters
* @param ascending sort ascending or descending
* @return list of character names
*/
public List<String> getCharactersByFametype(String fametype, int max, boolean ascending) {
DBTransaction transaction = TransactionPool.get().beginWork();
try {
List<String> res = getCharactersByFametype(transaction, fametype, max, ascending);
TransactionPool.get().commit(transaction);
return res;
} catch (SQLException e) {