SELECT * FROM SportsTeams WHERE Class='#Class#' AND Sport='#sport#' ORDER BY RowNumber ASC