# Data GRid

**URL:** <https://forum.kirupa.com/t/data-grid/210887>\
**Category:** flash\
**Created:** [December 23, 2006, 10:35am UTC](https://forum.kirupa.com/t/data-grid/210887 "2006-12-23T10:35:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dunkyb123](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@dunkyb123](https://forum.kirupa.com/u/dunkyb123)\
**Post date:** [December 23, 2006, 10:35am UTC](https://forum.kirupa.com/t/data-grid/210887/1 "2006-12-23T10:35:42Z")

</div>

Hi all

I need some advice on a data grid, i have a data grid that is loading from a .xml filem this all loads but it does not put my columns in order.

How do i make the columns in order.

.xml

```auto
<?xml version="1.0" ?>
<olan>
    <player first="Dunkyb123" teamscore="10" kills="1" deaths="2" score="28" />
    <player first="Captain Sausage" teamscore="30" kills="19" deaths="4" score="24" />
    <player first="Fat Pants" teamscore="8" kills="18" deaths="6" score="20" />
    <player first="Hammer66" teamscore="7" kills="17" deaths="8" score="16" />
    <player first="Woolmer" teamscore="6" kills="16" deaths="10" score="12" />
    <player first="Discotoe" teamscore="5" kills="15" deaths="12" score="8" />
    <player first="Tammyb" teamscore="4" kills="14" deaths="14" score="4" />
    <player first="Angrytoad" teamscore="3" kills="13" deaths="16" score="0" />
    <player first="Starman_uk8" teamscore="2" kills="12" deaths="18" score="-4" />
    <player first="Ianuk" teamscore="1" kills="11" deaths="20" score="-8" />
    <player first="Beaver44" teamscore="2" kills="10" deaths="22" score="-10" />
    <player first="Rogue Spear" teamscore="3" kills="9" deaths="24" score="-12" />
    <player first="TrooperTooke" teamscore="4" kills="8" deaths="26" score="-14" />
</olan>

```

[http://www.theoaps.co.uk/data%20grid.swf](http://www.theoaps.co.uk/data%20grid.swf)

I wanted the columns to come out in the order of the .xml sheet. Name First, Teamscore, Kills, Deaths, Score.

im using a data grid component with an xml connector.

flash code :

```auto
var cxc:mx.data.components.XMLConnector;
cxc.trigger();

```

hoe do i get the columns to come out in a specific order

cheers dunky
