lib/from-data-view.js
function getOrderedTeams (tnmt) {
  var res = []
  for (var i = 0; i < tnmt.teams.length; i++) {
    res[tnmt.teams[i].positionInSWT] = tnmt.teams[i]['1018']
  }
  return res
}
function getOrderedTeams (tnmt) {
  var res = []
  for (var i = 0; i < tnmt.teams.length; i++) {
    res[tnmt.teams[i].positionInSWT] = tnmt.teams[i]['1018']
  }
  return res
}
function getOrderedTeams ( tnmt ) { var res = [ ] for ( var i = 0 ; i < tnmt . teams . length ; i ++ ) { res [ tnmt . teams [ i ] . positionInSWT ] = tnmt . teams [ i ] [ '1018' ] } return res }
Takes a tournament and returns the teams in order of
their occurences within the SWT.

@param {Object} tournament object after parsing process
@return {Array} of teams
Takes a tournament and returns the teams in order of their occurences within the SWT .